//
//  ReactiveTests.swift
//  RecordingsTests
//
//  Created by aron on 2018/12/12.
//

import XCTest
import RxSwift

class ModelObject: NSObject {
	var date = Date()
	
}

class ReactiveTests: XCTestCase {
	
	var modelObject: ModelObject!
	var obs: NSKeyValueObservation? = nil
	
	override func setUp() {
		// Put setup code here. This method is called before the invocation of each test method in the class.
		modelObject = ModelObject()
	}
	
	override func tearDown() {
		// Put teardown code here. This method is called after the invocation of each test method in the class.
	}
	
	func testExample() {
		// This is an example of a functional test case.
		// Use XCTAssert and related functions to verify your tests produce the correct results.
		
//		modelObject.observe("date") { (obj, change) in
////			print("obj = \(obj)   change = \(change)")
////			print("obj = \(obj)")
//		}
		
//		modelObject.obser
		
	}
	
	func testPerformanceExample() {
		// This is an example of a performance test case.
		self.measure {
			// Put the code you want to measure the time of here.
		}
	}
	
}
